import {request} from "../until/request"

import type {loginResponseType,userFindType} from "../model/user";
// 登录
export let Login= async(params?:object)=>{
	return await request.postRequest<loginResponseType>("SchoolSys/user/login",params)
}
// 用户列表 /SchoolSys/user/find
export let userFind =async (data?:object)=>{
	return await request.postRequest<userFindType>("SchoolSys/user/find",data)
}